package com.jml.springsecurity.validate.code.image;

import com.jml.springsecurity.validate.code.ValidateCode;
import java.awt.image.BufferedImage;
import java.time.LocalDateTime;

public class ImageCode extends ValidateCode {

	private BufferedImage image;
	//随机数
	private String code;
	//时间
	private LocalDateTime expireTime;

	public ImageCode(BufferedImage image, String code, int expireTime) {
		super(code,expireTime);
		this.image = image;
	}

	public BufferedImage getImage() {
		return image;
	}

	public void setImage(BufferedImage image) {
		this.image = image;
	}


}
